<div *ngIf="hero">
    <div>
        <span>id:</span>
        {{hero.id}}
    </div>
    <div>
        <label>
            name:
            <input
                [(ngModel)]="hero.name"
                placeholder="name"
            >
        </label>
    </div>
</div>
